package com.dmlll.service;

import com.dmlll.VO.InformationManagement;
import com.dmlll.VO.InformationManagementDTO;
import com.dmlll.pojo.FamilyPlanning;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FamilyPlanningService {

    int insertsPlanning(FamilyPlanning familyPlanning);
    //信息管理分页查
    PageInfo<InformationManagement> findAll(InformationManagementDTO informationManagementDTO, Integer pageNun, Integer Sice,Integer Grade);
    //查询用户所在镇的code值
    int findGrade(Integer id);

    FamilyPlanning findFamilyPlanningById(Integer id);

    void updatePlanning(FamilyPlanning planning);
}
